﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.ComponentModel;

namespace InnovTech.Localization
{
    public interface IResourceExtractor
    {
        string FileExtension { get; }
        void ExtractResources(string filePath);

        event EventHandler<ExtractResourcesEventArgs> Localizing;
        event EventHandler<ExtractResourcesEventArgs> Localized;
    }

    public class ExtractResourcesEventArgs : CancelEventArgs
    {
        public string FileName { get; set; }
        public IResourceExtractor Extractor { get; set; }
        public ExtractResourcesEventArgs()
            : base()
        {
        }
    }
}
